package java67_2;

import java.util.Scanner;

public class Mixi {

	public static void main(String[] args) {
		// 100块钱以上,去吃KFC,30以上,吃老乡鸡
		Scanner in = new Scanner(System.in);
		System.out.print("数数口袋里有多少钱:");
		int money = in.nextInt();
		if (money > 100) {
			System.out.println("吃KFC");
			money = money - 70;
		}
		if (money > 30) {
			System.out.println("吃老乡鸡");
			money = money - 20;
		}
		System.out.println("吃完饭,还剩" + money + "元");
	}

}
